DCS.GT.2.4: Implement Kruskal and Prim’s algorithms to determine the weight of the minimum spanning tree of a connected graph.