Code for taking the reciprocal of a pair code + code for 1 item uniformly from a list.