Create UVA 494 - Kindergarten Counting Game

Solved with C++
used c_str() function to convert string into a c string.
used strtok() function to convert the c string into tokens. 
at last s2.resize(0) is used to make s2 a null string.