This program simulates an entire train system as a network of trian tracks and switches.