public void setElement(int i, int j, int value) {
        try {
            array2d[j][i] = value;
            lengths2d[j][i] = String.valueOf(value).length();
        
        } catch(IndexOutOfBoundsException e) {}
    }