how to make a check pattern