challenge 5. apis should be byte array based.
hamming distance function
challenge 6