Update cachematrix.R

Finished Assignment # 2