Added .gitignore

Added c++ gitignore to avoid tracking binary files.
Inspired by the github/gitignore repo
https://github.com/github/gitignore/blob/master/C%2B%2B.gitignore