Iterable interface for linked list