Set (card game) solver