Doctests. Close #1

Signed-off-by: Ricky Elrod <ricky@elrod.me>