Added pair wise swapping in a linked list