Added a check of the function parameter
Use a meaningful name for the matrix parameter
Added set/get functions
Included the inverse get/set functions
cacheSolve: recovering the cached inverted matrix
If available then return the cached inverted matrix
Return a new inverse matrix if there's no one available
Fixed various typos in the matrix declarations