primes code added