A program to generate math problems