Update cachematrix.R

updated the file per assignment to get or create inverse of a square matrix, then return the value of the inverse.