Arithmetic quiz using object orientation