Command line program that solves word puzzles including anagrams