flake8 clean; added docstrings
removed sleep
commented debug print