A simple Java quiz