Implement functions makeCacheMatrix and cacheSolve