Initial stab at writing docs

Used sphinx so the docs could be hosted at Read the Docs.

Closes #41 and #54 .
``(int, long)`` or ``(long, int)``