2 prime factor problems

-2 programs involving finding prime factors, one with finding the
largest prime factor of a very large number, one with summing up all
primes below 2,000,000.