Auto-increment works. Fixes #1

Tests are included.  I have not tested this with a large set of data.
Also, bumping the version.