private int [] countAround(int r, int c){
	int [] ret = new int [4];
	if (isValid(r-1,c)){
	    if ( _mazeArray[r-1][c] != -1)
		ret[0] = 1;
	}
	else
	    ret[0] = 2;
	if (isValid(r,c+1)){
	    if (_mazeArray[r][c+1] != -1)
		ret[1] = 1;
	}
	else
	    ret[1] = 2;
	if (isValid(r+1,c)){
	    if (_mazeArray[r+1][c] != -1)
	    ret[2] = 1;
	}
	else
	    ret[2] = 2;
	if (isValid(r,c-1)){
	    if( _mazeArray[r][c-1] != -1)
	    ret[3]= 1;
	} 
	else
	    ret[3] = 2;
	return ret;
    }