find nth node from end of a linked list