public static OurList computeIntersection(OurList A, OurList B)
    {
        OurList duplicates = new OurList();
        
        for(int i = 0; i<A.size(); i++)
        {
            String s = A.get(i);
            if(B.contains(s))
            {
                duplicates.add(s);
            }
        }
        return duplicates;
    }