finish intersect(simple data structure)