This is a C/C++ program to generate Gray code in mixed-radix system, convert between different base, and manipulat bits
split( ): Implementation: the Art of Computer Programming Vol.4: Generating All n-TUPLES, 7.2.1.1 Algorithm H (Loopless reflected mixed-radix Gray generation)
A2I() and I2A(): Conversions between decimal and unusual bases
Manipulate single bits in an array.