Implement A Huffman Coding Algorithm For Text Compression In Python