Init: solution to exercise 5-7