MIPS assignment from the Computer Architecture course