C and Java implementations of Levenshtein Distance