Problem 10. Easy since I already had a prime-generating function.