Preliminary huffman frequency table extraction

Signed-off-by: Damien Zammit <damien@zamaudio.com>