add QuestionTree class