working on checkWinner function, this is the last thing before the game is finished