pub fn biguint_from_bigint(a: &BigInt) -> Result<BigUint, &'static str>
Generate a BigUint from a positive BigInt