Added solutions to exercises 2.36 and 2.37