public final class HighLevelEncoder
This produces nearly optimal encodings of text into the first-level of
encoding used by Aztec code.
It uses a dynamic algorithm. For each prefix of the string, it determines
a set of encodings that could lead to this prefix. We repeatedly add a
character and generate a new set of optimal encodings until we have read
through the entire input.