updated java quiz