Java Math game for children