how to blink a light

Break won't do it - just put this at the point you want your program to stop:

while(true)
  ;