encode.c can take a .txt file and map each character to a frequency value