added the kruskal algorithm to graphExamples