cyclic code decoder