Code for Project Euler problems.