Added answers to exercise 4