Implementation of Kruskal's algorithm based on a provided graph adt.