private String getBinaryFromCell(int row, int column)
    {
        String binary = "";
        int newValue;
        for (int r = -1; r < 2; r++) {
            for (int c = -1; c < 2; c++) {
                newValue = cellsValue[row + r][column + c] < 0 ? 1 : 0;
                binary = binary + newValue;
            }
        }
        return binary;
    }