added comments to Kruskal.java