public String getCellNeighborPattern(int index) {
        StringBuilder result = new StringBuilder(); 
    
        if ( index - 1 < 0 ) {
            result.append(0);            
        } else {
            result.append(this.getCellAt(index - 1).getStatus() ? 1 : 0);
        }

        result.append(this.getCellAt(index).getStatus() ? 1 : 0);

        if ( index + 1 >= cellRow.length ) {
            result.append(0);
        } else {
            result.append(this.getCellAt(index+1).getStatus() ? 1 : 0);
        }
    
        return result.toString();
    }