add exercise ch4 and ch5/5.5.2