exercises to chapter 4 - including solution to 4.09 by Alex