added flush() method code to QuizGameServer but its not working
correctly