Finished class, fails unit tests.
Turned huffman code Canonical.
Initilise frequency table to zero first.
Don't insert 0 frequencies!
Fixed all segfault bugs.