A Python Implementation of the Chi Squared Contingency table to compute p-values in a dataset