Modified greetings.java