Added the codes of exercise10.1
Added the codes of exercise10.2
Added the codes of exercise10.3
Added the codes of exercise10.4