Adds Python-specific extensions and folders to .gitignore file