Arithmetic quiz modularised and made the desired changes