Use `Cursor.offset` to set iterator index.

Use `Cursor.offset` to initialize the iterator index and update it
after invoking `Cursor.next`.

Closes #11.