initial version of PS2-3.s for Assignment04