rever linked list in range