Wrote makeCacheMatrix, cacheSolve functions to solve and cache the inverse of a matrix.