y86 simulator implementation for cs3481