Solve exercise 2 from section 7.8.

As always, document any procedures you create well! (This includes the prescribed restrictions.)


This assignment is Level 2.