WIP snapshot
Add bigrat type.

Fixes #12