Implemented the algorithm to transform the huffman code to a generic code, where it will always be the same, doesn't matter the HF implementation