Added Miller Rabin primality test for integers.