Update pair.cpp

new code