Hamming code

Class for the Hamming code and fix a single error