A Scala implementation of a word search generator