added simple method for building contingency table (boolean)