add cachematrix function

add function to calculate matrix inverse of a cached matrix