hamming distance still broken, but unit tests work