Added C++ rules to .gitignore.

Added C++ rules to .gitignore.