a java program that creates a huffman encoding map given a text file