First cut impln of Union Find