Union Find (amortized O(a^{-1}(n)))