removed some of the memory leaks
new delete tree huffman function
new comments added