Homework2 done