Exercises from The Algorithm Design Manual