Update wordGenerator.java