Implement a class for datastructure QuickFind