protected int neighborhood(boolean[][] tmpArea, int x, int y){
		int neighborhood = 0;
		for(int i=0; i<3; i++){
			for(int j=0; j<3; j++){
				if (tmpArea[x+i-1][y+j-1] ){
					neighborhood++;
				}
			}
		}
		if (tmpArea[x][y] ){
			neighborhood--;
		}
		
		return neighborhood;
	}