Added state machine example for going straight in different situations