Added class that computes distance between strings.