SwapNodesinPairs

Change-Id: I47ad89d68b6e53f04ae2e564f732964895ff002c