結果 : explain prim's algorithm for minimum spanning tree with example