This is an implementation for Huffman Codes in Python and Java