applying autopep8 for flake8 compilance
add future import for Py3 compatibility
edit .gitignore to exclude emacs backups