Problem One on Project Euler.