Finished week2 homework