Finish extra credit #1 through #4 for assignment #3.