Create an example showing how to calculate entropy on generic symbolized data, e.g. character arrays, strings.