Project Euler solutions.