Changed the maze representation.