Implements some of the 9.6. Exercises