Built the maze.