Fixed kruskals minimum spanning tree implementation. It now follows all examples given