Add a sample .gitignore file.

The .gitignore file specifies which are locally generated and shouldn't be placed into the repository.  Here's a starter file that includes both streams files, c++ files, and java files.