private void openingAndEnding (){
	_case[0][1] = 0;
	int max = 0;
	int maxR = 0;
	int maxC = 0;
	for (int c = 1; c < _c+1; c++){
	    if (_case[_r-2][c] > max){
		max = _case[_r][c];
		maxR = _r+1;
		maxC = c;
	    }
	}

	for (int r = 1; r < _r+1; r++){
	    if (_case[r][_c-1] > max){
		max = _case[r][_c];
		maxR = r;
		maxC = _c+1;
	    }
	}

	_case[maxR][maxC] = -3;
	
	if (maxR == _r + 1){
	    System.out.println("yes");
	    _rowMajor = true;
	}
	  
    }