Update the cachematrix.R file with the required functions.

Tested the cache object with a known invertible 2,2 matrix