Add generate with a bug best-word cannot just take the first word when
there are no matches.  Either that or have to test that palindromicity
is preserved elsewhere.