added checkwin method and gameOver method