pep8 tweaks, added pycharm directory to gitignore