euler problem 3