passed all test
added static, header, huffman table and its methods