Optimize runtime of probably prime generation
Optimize runtime of probably prime generation

1. Add trial division by small odd prime numbers before, Miller-Rabin test is
   started.
2. On first run of Miller-Rabin test set a = 2.

kunerd/rpaillier,Endika/rpaillier