Exercises from CPDT book