euler problem 22,23,24