Moving Union find to separate folder