Add Euler problem 3