type Polymer = HashMap<(char, char), usize>;
The internal representation of polymer as the counts of the distinct consecutive pairs.