Algorithm for topological sort in DAG