Finish ch10 exercises except 10.7 Javascript