Added solutions to exercises 4.5 and 4.6