More tidying up. Fix thesaurus bug. Add StringDAGTest.
Started writing Grammarclass which applies rules to clues
Implement Grammar.

Switched to using a simple (inefficient) StringSet
instead of StringDAG. We'll optimize later.
Added command-line interface. Switched to new StringSet implementation.
New implementation for sets of strings.