a working quiz program