java programming lesson homework9