Added java implementatios of damerau levenshtein for best performance.