Refactored finished_quiz controller method and view to follow Ruby style guidelines.