Done chapter 3 exercises 4 & 5