Add the CardMatchingGame model class

Instances of this class represent the card matching game logic.