Implement WeightedQuickUnion class