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