Refactoring the quiz code
Signed-off-by: João Paulo Alves Ferreira <jploko@gmail.com>
Signed-off-by: Eduardo Vital <vitaldu@gmail.com>