got basic hamming encoding working
added an extra case to the hamming encoder test