Completed Week3 homework