Add Euler problem 8