update cachematrix to contain inverse of a matrix
update cacheSolve to calculate inverse of matrix