added pycharm (.idea) in .gitignore
improved for python 3