Started implementing Kruskal