For loop with continue and break