結果 : explain kruskal's algorithm with example