Prim + Kruskal for 04.12