Implemented the cacheSolve and makeCacheMatrix