code for "Remove Nth Node From End of List" (Singly-linked list)