Fix Maze solver