Additon to DisjointSet and Graph