Update cachematrix.R

Added the actual code to do matrix inverse caching.