Switch to DFS for harder mazes