Update hamming_v1.cpp