initial commit for 10014
accepted in C++