Update SwapNodesInPair.java