Update Week2Assignment.R