add hamming tests
PEP8