Use the following binary-tree structure as the basis for a C++ word counting program.