SwapNodesinPairs.java