Completed final exercises from the book.