Add gcd and eratothenes sieve