huffman tree build tree with rspec test done. Test encoding and decoding functionality in later.