adding Algorithm for Swapping Node Pairs in LinkedList