https://numbas.mathcentre.ac.uk/question/20055/mean-median-and-mode-from-a-frequency-table-with-classes-1-b/embed/