Project Euler: decent basic functionality tests & fun to write.

This seems like a pretty good way to get better test coverage of
miscellaneous functionality, especially of the mathematical kind.
That's how I discovered digits didn't work for BigInts yesterday:
the test introduced was actually problem 16.