Added file hamming_function.R