Word-indexer applying text-parsing and dynamic memory in C and C++