Update hammingDistance.cpp