implement makeCacheMatrix and cacheSolve for Assignment2