https://numbas.mathcentre.ac.uk/question/45599/john-s-copy-of-simplify-integers-and-rationals-in-z-n/embed/