Update PyMIPS_Register.py

Changed WriteMemory function.