Finite State Machine for Passing DMTH237 quizzes at MQ