Added solutions to exercises 2.21, 2.22, 2.23