Added solutions to exercises 1.42 and 1.43