Added rowWinPossible for AI