Completed Problem 9

Posting solutions .class and .java files for Problem 9.