1.12 Disjoint Sets Data Structure - Weighted Union and Collapsing Find