topsort and dfs - -..