directed dfs wip