Break and Continue in Java Exercise I