fixed some pep8 errors and docstring as triple double quoted