Add hamming distance of byte arrays