Proposed code for getting the intersection of 2 or more collections