A Huffman Encoding/Decoding Algorithm in Java