Add Hamming Distance
Improve test fitness function