Added ability to generate exam and associated questions