A program is to be written to model a railroad switching yard. One part of the switching network consists of a main track and a siding onto which cars may be shunted and removed at any time. Is there a data type we can use to model the operation of this siding?
