Project Euler question 4.