Update to Hamming to compare string lengths