Finished Problem 7.

Really easy given that the `gem-primes` function from earlier.