implemented dehuffmanize and added a test for it