Single Cycle Simulator for MIPS instructions