A class assignment: implement a tool to encode/decode a file using huffman encoding, and analyze compression ratios