Encoding and decoding of the (23, 12, 7) standard Golay code.
Try to decode the given 23-bit word to the nearest codeword, correcting up to 3 errors and detecting 4 errors.
Encode the given 12 data bits into a 23-bit codeword.