private int[][] initCellValues(int rows, int columns)
    {
        int[][] values = new int[rows][columns];
        int totalPoints = 0;
        
        for (int r = 0; r < rows; r++) {
            for (int c = 0; c < columns; c++) {
                int value = map.getCellValue(r, c);
                values[r][c] = value;
                totalPoints += value > 0 ? 1 : 0;
            }
        }
        values[0][0] = totalPoints;
        
        return values;
    }