Added UnionFind

UnionFind datastructure with unit test