Added golay code encoding/decoding