Adjusted the minimum spanning tree so that it has the same set of edges, regardless of where you start