Finished homework 1.