Solutions to problem 19 from Project Euler.