Update disjointSet.cpp