Right shift for singly linked list