added main.cpp
added main.cpp
worked on while solution of readword