https://numbas.mathcentre.ac.uk/question/72205/legendre-symbol.zip?scorm=