Added implementation of prepareCodingCodes in HuffmanEncryption.