added Disjoint Set class