Create DFS traversal