Simplified Java Quickstart examples.
Added gitignore.