Add exercises 4.21, 4.28, 4.31