Added proper support for multiple choice/answer questions, modified communication between JS and Python, made changes to validation and the output of the template.