Worked on the logic for set game card matching