two linked list iterator