An implementation of Kruskal's Algorithm using weighted undirected graphs and minimum spanning trees.