Create base_classes.py

Base Classes for Python Automatic Mathematics Question Generation Program