Exercise 7.3 function.
Exercise 7.3 Main script.
Exercise 6.1.4 function (from Sauer).
Exercise 6.1.4 Main script (from Sauer).