Begining exercises chapter 5