Update word_chunker.rb

A little suggested refactoring ...