Add and test a bounds() function.

See #100.