Procedural generation of problems for elementary math education