algo2: disjoint set implemented
algo2: find and union understood finally
algo2: test added