Added details on topo sort