modified topwords.rb