added topo sort + MST and updated TODO