Maths problem generator.