I\'m trying to implement a Moore\'s FSM that consists of a railway that forks in two when it approaches a train station (see https://i.stack.imgur.com/MHTqg.png)