Jack Yang's C++ code for calculating the cube root of a number.