applet for exam simulation as a school project