Adding example code for Questions and Answers