Miller-Rabin primality test.

Tests added in Tester for testing. So far so good.