Demonstration of kruskal MST Algorithm