Maze solver.