mathgen: simple arithmetics problem generation.