Implementation of the card game Set.