Fixed wjd's stupid bug in get_length function.

The function was returning len(s) instead of len(dna)
because s was the variable name I used in the first
version of this function that I wrote earlier.