Use YAML or JSON to save your maze data structure to disk and load it again.
If you are not happy to use the maze data structure you created in the module Data Structures, you can use the Maze Model solution: Maze Model Solution
Next: Experience - Extended Exercise: the biggest earthquake in the UK this century