first commit, update problems in chapter 6