Kruskal algorithm commented