A Huffman Tree implementation for encoding a given input and then decoding the encoded text to get back the input