Adding Hamming Distance String Algorithm