add helloworld.java and edit line in printgit.java

added stuff please review