Finished homework #1.