My attempt at the Project Euler problems.