Added hamming distance calculation, attributed to second memento being compared. There's probably a better way. Fixes #2.