Update countWords.java