fixing an issue where the user could click on the same card until the count matched hte number of highlighted cards to complete the level
adding some comments
refactoring, adding comments