Add .gitignore file

Used the C template from https://github.com/github/gitignore