week 8 and week 9 java