add euler problem 24