Update Automater.py

Docstrings and pep8