Update Pairwise swap elements of a given linked list by changing links