Update Questionnaire.lua

Partially debugged version.  Still some bugs to iron out.