removed unecessary linkedCards var in SetSolver; added check if number
of cards is sufficient