A Python Implementation of the Chi Squared Contingency Table for Data Analysis