Update cachematrix.R

Programming Assignment from Abhinav Saxena