finished first version of the EquivaleceClasses class to partition a characteristic in blocks