internal void AddPointToSet(Point point, SetRepresentative rep)
 {
     FindSetWithRep(rep.GetRep()).Add(point);
 }
 public void Union(SetRepresentative rep1, SetRepresentative rep2)
 {
     DisjointSet ds1 = FindSetWithRep(rep1.GetRep());
     DisjointSet ds2 = FindSetWithRep(rep2.GetRep());
     ds1.Union(ds2);
 }