Kruskal Algorithm Example Code In C