refactored isGameOver method to findWinner method and made corresponding change in play method.
removed unwanted braces in mathworks.