new playerX and playerO functions and check if rows are the winning combination