Finished Homework 4