developed code in SetCardMatchingGame isMatch()