adding QuickUnion
adding WeightedQuickUnion class (not implemented yet)