working on topologysort
topologysort completed