Corrected syntax errors in makeCacheMatrix function