create a function of creating confusing matrix