Added Kruskal's method of finding minimum spanning tree.