chap 9, prob 1: Improved ask method