added needed primes database for problem 3