Added UnionFind interface and a QuickFind implementation with unit test