Add Euler problem 6