Code Cleanup

* autopep8
* replace tabs with 4 spaces