Update pic14_sim.py, modify log to string format