Prime numbers.RSA.C++