change 90% complete

the program is mostly workking, only a few more changes until the change
from char[][] to std::vector<std::string> is complete. end of night
commit.