Add a setup.py file.
Add a test suite.
Add doctests to the test suite.