Removed try catch at BigInteger b = getRandom, no longer needed