The first task from ProjectEuler.net