begin encoding text. successfully reads in file, and converts the first 14 bit value to a digit.