Update cachematrix.R

first / final assignment submission