Added the codes of exercise8.7
Added the codes of exercise8.8