Bubble exploder - C (unix (ansi ?) term)