Code sample improvements
Updated gitignore
Updated java8 examples