Eliminated unused instance variables in the method take_quiz
Removed unused code in the method take_quiz