Create Kruskal Algorithm to find MST