Incomplete example using lists with sequences and iterators. Based on the "List" example.