結果 : write each steps of prim's algorithm with example