Adding exercises 7 - 12 from the reading