Changed edit --> hamming so that names of types and variables match the
fact that we are calculcating the Hamming Distance