Weighted Quick Union By Height for 1.5.14