Project Euler problems 1-3.