Exercises from Chris Pine's book