New exercise: hamming