added serialization/deserialization methods, maze now loads from maze1.m