Added checkForInvalidMove() function to PlayGame and tests to PlayGameTests