Changed BinaryTree with huffman specifed tree.
Added heap.hpp for building huffman tree.
Fixed some bugs.