Add Damerau-Levenshtein distance computation.

The ToStr function prints the word with the good output format.