This is the code for Project Euler #1