A program to demonstrate Prim's algorithm for finding the minimum spanning tree for an connected, weighted, undirected graph.