add PyCharm files to .gitignore
implement minimal C extention