Wrote Kruskal's straightforward impl main alg, TODO's lacking