R Programming 2 Assignment local changes