add remove Nth node from end of list class