String::KeyboardDistanceXS - string comparison algorithm