fixing BUG in cardMatchingGame
Completed Assignment 2