problem 11 java