Finished problem. Code now computes hamming distance