Rearrange the program.
Added the testing for function updateTheString().
Program the function body of updateTheString() and passed all the test.