Finished Homework2