Cleaned up CardMatchingGame so that any number of cards can be used for matching.