Added Hamming Distance algorithm C implementation