cpu gcd,rsa stuff implemented