added lw function and replaced mem_to_reg mux sel from vcc to control select line
added control signals and mux to MEM input for SW and LW
added mux and control signals for LW and SW