Added sample files for documentation (using pydoc) and testing (using doctest)