kruskal mst
prim and kruskal mst