Update cachematrix.R

Programming Assignment 2 (R Programming) deadline 24/8/2014