solved finding pairs in the sets