upload source code and slides of ch4, ch5