Fixed MST so it uses Vertex in HashSet instead of String