Update cachematrix.R

added code to calculate inverse of a matrix