makeCacheMatrix and cacheSolve functions inmplementation