Quick union find probs.
Quick union find probs.