continued work on Kruskal to improve sorting; added more tests; termination condition is incorrect and needs to be fixed