Moar graphs
Improved Topological sort to add back in edges and wrote more tests