finish Homework 1