added a kruskals initialization implementation, and a swtiching mechanism to toggle between the two (i.e., prim's and kruskal).