write post for remove nth node from end of list