Application for my course work. Decoder for cyclic codes.