[LeetCode 24] Swap Nodes in Pairs [Java]