added idea files to gitignore
formatted code according to pep8 naming convention