https://numbas.mathcentre.ac.uk/question/20059/mean-median-and-mode-from-a-frequency-table-with-classes-2c/embed/