結果 : depth first tree traversal python