created algorithm for encoding odd bit hamming code
created algorithm for decoding hamming encoded string