cachematrix code

Function for a creating matrix object that can cache it’s inverse and a
function that will either calculate the inverse if it hasn’t yet been
calculated/stored, or retrieve the cached matrix inverse