Project Euler problem 40 added