Template for Project Euler problems