Leveling question database and exam generator