adding Ch 7 exercises 1-4