First C++ problem.  Uses GMP.