Add Levenshtein distance algorithm in Ruby