Create DFS preorder