add writing of static header to file, byte flushing if block is final
add getting huffman code for length/literal alphabet,
add fixed limits of ranges