Changed filename to kruskal and created new file for prim