fix lw and also add functionality for noop, halt, jalr. add output before final printState