Started implementing the huffman encoder class.