https://numbas.mathcentre.ac.uk/question/145607/discrete-logarithm-with-pollard-s-rho.zip?scorm=