Add DisjointSet (also called Union-Find data structure)