added repword.cpp
added repword2.cpp