Blocks and iterators: words_freq.rb