add exercises of ch02

add exercises of ch02