finish chapter10 programmingMaster