added hello-world and java-library examples
added .gradle to gitignore