java exercise switch done