M  swap_nodes_in_pairs.cpp