my implementation of the inverted matrix caching

implemented two functions, makeCacheMatrix, cacheSolve.