Hamming distance
To measure the distance between two strings, the Hamming distance is used