Added solutions to exercises 2.44 and 2.45