exercse 2.27 deep-reverse