A math game Java program