modified and implemented addQuestion()