Homework up to chapter 5.1