https://numbas.mathcentre.ac.uk/question/132441/chi-square-goodness-of-fit-test.zip?