Fixed the Damerau-Levenshtein algorithm to handle empty source/target string input and added unit tests.