modified:   maze.hs