Function randomBigIntInRange