Update SwapNodePair.java