Added solutions to exercises 2.19 and 2.20