Completed Week2 homework