new challenge problem, nested-reverse