Fixed team7 huffman tree creation bug