Exercises from the first chapter