swap nodes in pairs 2nd