improved primality testing - initial idea