pairwise_candidates function

Candidate pairs from pairwise comparisons