added code for QuizServerImpl and changed some code for Quiz class