second commit

two exercises of chapter 3