implement String class with editDistance (naive & incorrect algo)