cleaned up all code with autopep8