Fix error in compare_pair().  Problem Solved
Replace previous p54 attempt