finished excercise 1.16