Project Euler 9