added solution to exercise 4