Find out way out of the maze.