CS402-SPIM Code