Solution for Swap Nodes in Pairs.