switched hamming() to operate on strings of unequal length by default
added hamming() tests
added normalized Hamming function & tests