Update scratch-simulator.cc