remove nth node from end of a list