add exercise file for ch. 3