Finish homework2