public void outputResult(Config config, Data data, int[] output_stats){
        int foundAnswerFlag = 0;
        int countKernels = 0;
        float sum = 0;
        for (int i = 0; i < config.getNum_kernels() * config.getOutput_stats_slots(); i++) {
            
            if (output_stats[i] > 0){
                foundAnswerFlag = 1;
                if (i%config.getOutput_stats_slots()==0){
                    countKernels++;
                    System.out.println(countKernels + ": Found in # iterations: " + output_stats[i] );
                } else {
                    
                    System.out.println( "  Word[" + i + "]: " + toString((int)output_stats[i], data.getData(), sum) );
                    sum = wordToNum(sum, (int)output_stats[i], data.getData());
                }
            }
            if ((i%config.getOutput_stats_slots()==config.getOutput_stats_slots()-1) && (foundAnswerFlag == 1)){
                System.out.println( "  Sum    : " + sum);
                System.out.println( "  Target : " + data.getDataAtPoint(0, config.getData_num_cols()));
                foundAnswerFlag = 0;
                sum=0;
            }
        }
    }