Contingency table for chi square test