Added solutions to exercises 2.9 and 2.10