PEP 8 adjustment and Docstrings added