#437 Finding dfs tree