Compare the solution with other implementations

Compare the solution with the implementation described in the book. Use
a word list as an input for both of the implementations and test their
outputs.