Changed interface so that child classes have to implement only encoding and decoding of separate symbols.
Implemented Huffman binary codec.