fix chapter 3.2
add contents and modify build script