1.1.1 problem 3 from chapter 3

THis is problem labeled 3 in chapter 3