To build a tree with the count of each letter ('a'-'c') in that position.

You have already asked this, so why are you asking again?

--
Mats