@Override
    protected Integer compute() {
        Integer ret = 0;
        MyWorkerThread thread = (MyWorkerThread) Thread.currentThread();
        thread.addTask();
        for(int i = start ; i < end;i ++){
            ret += array[i];
        }
        return ret;
    }