Adding chapter 4 execises