auto 2 bit error patterns added. Decoder class almost implemented.