A huffman encoder implementation written for a school project