Add Hamming distance exercise