added:
- weighted version of QuickUnion
changed:
- QuickUnion improvement: path compression