coding makeMarix and cacheSolve functions