--- from: http://rosettacode.org/wiki/Miller–Rabin_primality_test note: Prime Numbers