Add a part of codes in chapter03
Complete the chapter03