A program which finds a given number of primes, and finds all the primes up to a given number.