Turn docstrings added in 00e2865 into doctests.
Merge pull request #55 from dnouri/add-doctests

Turn docstrings added in 00e2865 into doctests.