Added some solutions to exercises in chapter 4.