Added a skeleton for union find
Omitted changes for previous commit