Added checkWinner