Made mergeSort() and merge() in Kruskal.java private instead of public.