ex problem 3_1 chap 3.10 skiena