Finish some exercises after chapter 9