Deleting nth node of a linked list from last end