Add a C program for comparison with GMP