Added solution for exercises 14.