Exercise: character counting



Input: "abcax"
Output:
a: 2
b: 1
c: 1
x: 1