second commit-Added functionality to add questions and Answers