First year undergrad try at Kruskal's Algorithm. Originally written in 2008. Shown publicly for posterity, for better or worse.
A short program demonstrating with an example the Kruskal's minimum spanning tree algorithm