Update WordFrequency.scala