Levenshtein Distance with Ruby, tested with Rspec