update test_sim.py to do a simple execution loop: decode-execute-decode-execute