Finished chapter 10's exercises