public void territoryFill(int r, int c, List<Intersection.Piece> colors, boolean checked[][], List<Coord> area){
		if (r < 0 || c < 0 || r >= 9 || c >= 9) {
			return;
		}
		if(checked[r][c]==true){
			return;
		}
		else if(board[r][c].getContents()!=Intersection.Piece.EMPTY){
			colors.add(board[r][c].getContents());
			return;
		}
		else{
			checked[r][c]=true;
			area.add(new Coord(r,c));
			territoryFill(r-1, c, colors, checked, area);
			territoryFill(r, c+1, colors, checked, area);
			territoryFill(r+1, c, colors, checked, area);
			territoryFill(r, c-1, colors, checked, area);
			return;
			
		}
	}