itp_c function

The ITP root-finding algorithm using C++