Update SwapNodesInpairs.cpp