Added a .gitignore file

Added the example .gitignore java file.