Project Euler Problem 89