This is the source code of huffman coding in python