Update WordFrequency.java