primes working