The idea here is to allow the user to group a bunch of program segments together, give it a name, and then collapse them (by clicking on a minus sign) so that only the name is shown.
Of course they would be expandable by clicking on a plus.