addded c++ project with translated  function (python -> c++)