Use BigInt for pidigits

Create a new version of pidigits that uses the `BigInt` class provided by GMP module.