Implemented iterator and iterable