trivial implementation of linked lists (addition and iteration only)