Update .gitignore file to ignore compiled files and IntelliJ files

Updates `.gitignore` to ignore IntelliJ files (mostly for PyCharm) and any compiled `.pyc` or `.pyo`(Python 3) files.