A huffman encoding/decoding implementation in C