update hw5 with mips code