Implement the Miller-Rabin primality test.

Good for isolated/"rare" prime tests. (My tests indicate sieving and
miller-rabin are about the same when doing 10000 tests upto 1000000.)