Added some doctests. Closes #27.