added Swap Nodes in Pairs