Added DamerauLevenshtein algorithm

It was a minor change from Levenshtein, so I added it for fun.
Minor formatting
Array semantics change