Finished Program 9.

I have not yet checked Program 8.