added utility class for calculating string distance