solved exercises 9, 10 and 11.