move write_bits, write_huffman_code, next_bit byte_flush from all files to writer
compilation of writer files