starting to translate the MIPS assignment into C