iterator.cc: Add #NextSync and #EndSync

See #12.