hamming + word-count completed