We can just return an `int` here instead of an `Integer`. `mpz_probab_prime_p()` returns 2, 1, 0 respectively depending on whether the input number is definitely prime, probably prime and definitely composite.