Create .gitignore

C++ template with some OS X and Xcode ignores too.