Solution to Remove Nth node from end of list