swap-nodes-in-pairs