start ex2-4.c: pairsum2