Update cachematrix.R

Changed by Ya Wang for Programming Assignment2