結果 : kruskal's algorithm using python