Instanceof and Loop Controls examples