public void set(int integer, int row, int column) {
        if (0 <= row && row < rows && 0 <= column && column < columns) {
            matrix[row][column] = integer;
        } else {
            throw new MatrixIndexOutOfBoundsException(this, row, column);
        }
    }