Test primes faster than Ruby's default methods by using the Miller-Rabin method.