added n primes exercise