04.作業四 MST_Kruskal's and Prim's algorithms