public void load(List<int[]> list){
        int size = 0;
        for(int[] t : list){
            size +=t.length;
        }
        target = new int[size];
        firstArray = list.get(0);
        secondArray = list.get(1);

    }