Implementation of Reed-Muller codes in C