Prototype of gray/binary coder/decoder
Implemented coder/decoder classes