Finished homework two