Performs a chi square test on csv file data.