pair_links function

Helper function to create pairs of observation groups