initial commit for 0004
accepted in c++