Create MS coding challenge replacementgrammar.cpp