Update HelloWorld.java

Fixes:
added comma to fix compile error
removed redundancies in the import statements

Additions:
added more statements to the name list and to the greet list