wordcount.cpp updated.