Added solutions to exercises 2.25, 2.26 and 2.27