public void setRow(int j, String row_str) {
        int[] row_array = strToArray(row_str);
        
        if (row_array.length != width)
            return;
            
        array2d[j] = row_array;
        updateLengths(j);
    }