Added first part of automatic train control code that can move the train until it runs out of next sections to move into.
TODO: Make a train FAST stop when the last sensor in a section is activated
TODO: Make a train stop at a red signal