get_shared_collections function

Get collections shared by 2 objects and return member combinations