Using DFS to generate maze.