Updated Main class and HuffmanProcessor.