Topological Sort Using Decrease And Reduce