failed to couple Kruskal algorithm with chorde checking. Making better gui now.