Update cachematrix.R

Coursera Assignment: Caching the Inverse of a Matrix