Use tuple unpacking. Rename 'dna(1|2)' since hamming distance applies to strings in general.