gcd

add gcd and primes stuff