Kruskal minimum spanning tree algorithm added to graph utils.