my solution for makeCacheMatrix and cacheSolve functions

Solution to programming assignment 2 for two functions that work
together to solve the inverse of a matrix object