Hamming takes two arrays and matches at index, then returns number of differences.