cachematrix.R file updated per Programming Assignment 2 to store matrix inverse