Update swap-nodes-in-pairs.cpp