initial commit for 10013
accepted in C++