Added written solution for exercise 1.5.