Code to tackle Project Euler problems