Problem 13: Love simple problems.

I'm not sure if I'm doing this right with having some of the logic in
the tests, but I think it provides, if nothing else, something
interesting to think about.
Problem 14: Even with caching, that took 50 seconds!