Bonus MST : Kruskal and Prim Algorithm