Code used for Project Euler problems