note about a "simpler" simulateMachine
done with ch 7