add exercise file for ch. 2