Code for "Pairs".