Exercise 9. Output printed by cohort. Program looking very different now.