added the word_frequency.rb file