(5.10) Reverse Digits problem.