Create reverseInputString.cpp