Implementation of Huffman Encoder and Decoder using binary heap, pairing heap and four way optimized heap.