add .gitignore file
ref: https://github.com/github/gitignore/blob/master/C.gitignore