Iterators implement iterator protocol

Issue #28