Ex. 8.9 implemented.
Ex. 8.10 implemented.
Built exercise 8.