Added solutions to exercises 2.46, 2.47 and 2.48