Added Prim's MST