Optimized huffman tree creation using a few group by statements
Fixed the unit tests
Fixed case where symbol is missing from the tree
Merge remote-tracking branch 'origin/huffman-optimization'