delete last nth node in list