implemented iterable and iterator in NoteCollection