added and tested making LinkedList iterable