miniSim: added terminal (print) block.