Note: This version of wordtree.C fixes a bug - the absence of a copy constructor for the ErrorMsg class - in the version in the book.