some code I test when I read the Runmintions on c++ by Andrew Kenig Barbara Moo