Create Kruskal's MST