removing blank lines.
unpack4bits is buggy.
re-implementing huffman encoder.