generate pairings for n-many sets